package cn.sharp.bbs.dao.security;

import cn.sharp.bbs.entity.BO.LoginEntity;
import org.apache.ibatis.annotations.Select;

public interface LoginDao {
    LoginEntity selectByMail(String email);

    LoginEntity selectByAccount(String account);

    @Select("select COUNT(*) from t_user where user_id=#{u_account}")
    int checkLoginById(LoginEntity entity);
}
